package com.camp.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 营地对象 c_yd
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class CYd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 营地主键id */
    private String ydId;

    /** 营地名称 */
    @Excel(name = "营地名称")
    private String ydName;

    /** 营地位置经度 */
    @Excel(name = "营地位置经度")
    private String ydJingdu;

    /** 营地具体地址 */
    @Excel(name = "营地具体地址")
    private String ydLocation;

    /** 营业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "营业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ydTime;

    /** 营地类型id */
    @Excel(name = "营地类型id")
    private Long ydTypeid;

    /** 营地联系人 */
    @Excel(name = "营地联系人")
    private String ydContact;

    /** 营地联系方式 */
    @Excel(name = "营地联系方式")
    private String ydPhone;

    /** 营地图片 */
    @Excel(name = "营地图片")
    private String ydImage;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createName;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateName;

    /** 营地位置纬度 */
    @Excel(name = "营地位置纬度")
    private String ydWeidu;

    /** 营地类型 */
    @Excel(name = "营地类型")
    private String ydType;

    /** 用户营地类型 */
    @Excel(name = "用户营地类型")
    private String ydUsertype;

    /** 营地状态 */
    @Excel(name = "营地状态")
    private String ydState;

    /** 营地时间类型 */
    @Excel(name = "营地时间类型")
    private String ydTimetype;

    /** 审核 */
    @Excel(name = "审核")
    private String ydApprove;

    /** 置顶 */
    @Excel(name = "置顶")
    private String ydShow;

    /** 评价 */
    @Excel(name = "评价")
    private BigDecimal ydScore;

    /** 营地介绍 */
    @Excel(name = "营地介绍")
    private String ydJieshao;

    public void setYdId(String ydId) 
    {
        this.ydId = ydId;
    }

    public String getYdId() 
    {
        return ydId;
    }
    public void setYdName(String ydName) 
    {
        this.ydName = ydName;
    }

    public String getYdName() 
    {
        return ydName;
    }
    public void setYdJingdu(String ydJingdu) 
    {
        this.ydJingdu = ydJingdu;
    }

    public String getYdJingdu() 
    {
        return ydJingdu;
    }
    public void setYdLocation(String ydLocation) 
    {
        this.ydLocation = ydLocation;
    }

    public String getYdLocation() 
    {
        return ydLocation;
    }
    public void setYdTime(Date ydTime) 
    {
        this.ydTime = ydTime;
    }

    public Date getYdTime() 
    {
        return ydTime;
    }
    public void setYdTypeid(Long ydTypeid) 
    {
        this.ydTypeid = ydTypeid;
    }

    public Long getYdTypeid() 
    {
        return ydTypeid;
    }
    public void setYdContact(String ydContact) 
    {
        this.ydContact = ydContact;
    }

    public String getYdContact() 
    {
        return ydContact;
    }
    public void setYdPhone(String ydPhone) 
    {
        this.ydPhone = ydPhone;
    }

    public String getYdPhone() 
    {
        return ydPhone;
    }
    public void setYdImage(String ydImage) 
    {
        this.ydImage = ydImage;
    }

    public String getYdImage() 
    {
        return ydImage;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setYdWeidu(String ydWeidu) 
    {
        this.ydWeidu = ydWeidu;
    }

    public String getYdWeidu() 
    {
        return ydWeidu;
    }
    public void setYdType(String ydType) 
    {
        this.ydType = ydType;
    }

    public String getYdType() 
    {
        return ydType;
    }
    public void setYdUsertype(String ydUsertype) 
    {
        this.ydUsertype = ydUsertype;
    }

    public String getYdUsertype() 
    {
        return ydUsertype;
    }
    public void setYdState(String ydState) 
    {
        this.ydState = ydState;
    }

    public String getYdState() 
    {
        return ydState;
    }
    public void setYdTimetype(String ydTimetype) 
    {
        this.ydTimetype = ydTimetype;
    }

    public String getYdTimetype() 
    {
        return ydTimetype;
    }
    public void setYdApprove(String ydApprove) 
    {
        this.ydApprove = ydApprove;
    }

    public String getYdApprove() 
    {
        return ydApprove;
    }
    public void setYdShow(String ydShow) 
    {
        this.ydShow = ydShow;
    }

    public String getYdShow() 
    {
        return ydShow;
    }
    public void setYdScore(BigDecimal ydScore) 
    {
        this.ydScore = ydScore;
    }

    public BigDecimal getYdScore() 
    {
        return ydScore;
    }
    public void setYdJieshao(String ydJieshao) 
    {
        this.ydJieshao = ydJieshao;
    }

    public String getYdJieshao() 
    {
        return ydJieshao;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ydId", getYdId())
            .append("ydName", getYdName())
            .append("ydJingdu", getYdJingdu())
            .append("ydLocation", getYdLocation())
            .append("ydTime", getYdTime())
            .append("ydTypeid", getYdTypeid())
            .append("ydContact", getYdContact())
            .append("ydPhone", getYdPhone())
            .append("ydImage", getYdImage())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("ydWeidu", getYdWeidu())
            .append("ydType", getYdType())
            .append("ydUsertype", getYdUsertype())
            .append("ydState", getYdState())
            .append("ydTimetype", getYdTimetype())
            .append("ydApprove", getYdApprove())
            .append("ydShow", getYdShow())
            .append("ydScore", getYdScore())
            .append("ydJieshao", getYdJieshao())
            .toString();
    }
}
